package com.tony.pmp.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * @Title: SysUserPostEntity
 * @Auther: 皮蛋布丁
 * @Date: 2021/07/09/10:05
 * @Description: 用户与岗位关联表
 */
@Data
@TableName("sys_user_post")
public class SysUserPostEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    //用户Id
    private Long userId;

    //岗位Id
    private Long postId;

    @TableField(exist = false)
    private String postName;
}